<!doctype html>
<html>
<head>
	<title>DataBind : Example5</title>
	
	<link href="Styles/static.css" type="text/css" rel="Stylesheet" />
	
	<script type="text/javascript" src="Scripts/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="Scripts/jquery.databind.min.js"></script>
		
	<script type="text/javascript">
	    
	    $(document).ready(function() {

	        var array = [['23 april 2009', 'Dreams from my Father', 24.99], ['1 May 2009', 'The Fame', 7.99]];
	        var map = [0, 2, 1];
	        
	        $('#purchases').binddata(array, map);
	    });
	    
	</script>
	
</head>
<body>

    <table id="purchases">
        <thead>
            <tr>
                <th>Date</th><th>Amount</th><th>Description</th>
            </tr>
        </thead>
        <tbody></tbody>
    </table>
		
</body>
</html>
